package com.hainingtong.user.dao;

import com.hainingtong.user.entity.SysPermission;
import com.hainingtong.user.entity.SysRole;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface RoleMapper {
    List<SysRole> findAll();
    List<SysPermission> findPermissionsByRoleIds(List<Integer> roleIds);
}
